<script setup lang="ts">
import { RouterView } from "vue-router";

</script>

<template>
    <div class="work-wrap">
        <RouterView #default="{ Component,route }">
            <keep-alive :exclude="['demo1']">
                <component :is="Component" :key="route.fullPath"/>
            </keep-alive>
        </RouterView>
    </div>    
</template>
  




<style scoped lang="less">
.work-wrap{
    width:100%;
    height:100%;
}
</style>
